package org.example.myleet.p1052;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.maxSatisfied(new int[]{1}, new int[]{1}, 1));
        Assert.isTrue(16 == solution.maxSatisfied(new int[]{1,0,1,2,1,1,7,5}, new int[]{0,1,0,1,0,1,0,1}, 3));
        Assert.isTrue(24 == solution.maxSatisfied(new int[]{4,10,10}, new int[]{1,1,0}, 2));
    }
}
